﻿Public Class SearchResults

    Public Property Query As String
    Public Property FlippedKeyboard As Boolean
    Public Property FlippedQuery As String
    Public Property Pages As List(Of String)
    Public Property TitleMatch As Boolean

    Public Property InvalidChars As Boolean

    Public Sub New(Query As String)
        Me.Query = Query
        Me.FlippedQuery = Query
        Me.FlippedKeyboard = False
        Me.Pages = New List(Of String)
        Me.TitleMatch = False
    End Sub
    Public Sub New(Query As String, FlippedQuery As String)
        Me.Query = Query
        Me.FlippedKeyboard = True
        Me.FlippedQuery = FlippedQuery
        Me.Pages = New List(Of String)
        Me.TitleMatch = False
    End Sub
    Public Sub AddPage(page As String)
        Pages.Add(page)
    End Sub

    Public Sub setMatched()
        Me.TitleMatch = True
    End Sub

End Class